import { setLocalStorage } from '@/utils/auth'
const indexList = {
	state: {
		indexList: []
	},
	mutations: {
		getList(state, data) {
			state.indexList = data
			setLocalStorage('indexList',state.indexList)
		}
	}
}

export default indexList
